<% content_for :title do %>Sign In<% end %>
<h1>Sign In</h1>
<div class="good"><%= notice %></div>
<div class="bad">
<% if flash[:error] %>
	<p><%= flash[:error] %></p>
<% end %>
</div>

<%= simple_form_for(:session, :url => sessions_create_path, html: { class: 'form-horizontal' }  ) do |f| %>
  <%= f.input :email %>
  <%= f.input :password %>
  <%= f.button :submit, value: "Login" %>
<% end %>

<%= link_to "Register", new_user_path %>
<%= link_to "Show all Users", users_path %>